import { defineStore } from "pinia";
interface query{
    poster:string
}


interface tabsType {
	title: string;
    path: string;
    query?: query;
}

interface tabsListType {
	tabsList: tabsType[],tabsIndex:string;
}
export const useTabsStore = defineStore("tabs", {
	state: (): tabsListType => {
		return {
			tabsList: [
				{
					title: "首页",
					path: "/index",
				},
            ],
            tabsIndex:"/index"
		};
    },
     persist: {
        key:"tabs"
    }
});
